<template>
  <div class="document_contain">
    <div class="one">
      <div class="year">
        <span>产品年度</span>
        <el-select v-model="value" placeholder="请选择">
          <el-option
            v-for="item in options1"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </div>
      <div class="category">
        <span>产品类别</span>
        <el-select v-model="value" placeholder="请选择">
          <el-option
            v-for="item in options2"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </div>
      <div class="doc_name">
        <span>文档名称</span>
        <el-input v-model="input" placeholder="请输入内容"></el-input>
      </div>
      <div class="operation">当前操作：修改</div>
    </div>
    <div class="two">
      <div class="number">
        <span>产品期数</span>
        <el-input v-model="input" placeholder="请输入内容"></el-input>
      </div>
      <div class="category">
        <span>二级类别</span>
        <el-select v-model="value" placeholder="请选择">
          <el-option
            v-for="item in options3"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </div>
      <div class="name">
        <span>签发人</span>
        <el-select v-model="value" placeholder="请选择">
          <el-option
            v-for="item in options4"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </div>
      <el-button>保存产品</el-button>
      <el-button>文件上传</el-button>
      <el-button>批量上传</el-button>
      <el-button>邮件发布</el-button>
      <el-button>产品设置</el-button>
      <el-button>发布设置</el-button>
    </div>
    <div class="three">
      <el-table :data="tableData" style="width: 100%">
        <el-table-column prop="name" label="产品名称" width="350">
        </el-table-column>
        <el-table-column prop="state" label="审核状态" width="80">
        </el-table-column>
      </el-table>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      options1: [
        {
          value: "选项1",
          label: "2022",
        },
        {
          value: "选项2",
          label: "2023",
        },
      ],
      options2: [
        {
          value: "选项1",
          label: "一周天气专题",
        },
        {
          value: "选项2",
          label: "一周天气专题",
        },
      ],
      options3: [
        {
          value: "选项1",
          label: "",
        },
      ],
      options4: [
        {
          value: "选项1",
          label: "肖秧琳",
        },
        {
          value: "选项2",
          label: "肖秧琳",
        },
      ],

      value: "选项1",
      input: "",
      tableData: [
        {
          name: "一周专报.docx",
          state: "通过",
        },
      ],
    };
  },
};
</script>
<style scoped lang="less">
.document_contain {
  width: 100%;
  height: 100%;
  font-size: 12px;
}
.document_contain .one,
.document_contain .two {
  display: flex;
  padding-left: 10px;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.document_contain .one .year,
.document_contain .one .category,
.document_contain .two .category,
.document_contain .two .name {
  width: 280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 10px;
}
.document_contain .one .doc_name {
  width: 480px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 10px;
  .el-input {
    width: 420px;
  }
}
.document_contain .two .number {
  width: 280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 10px;
  .el-input {
    width: 220px;
  }
}
.document_contain .one .operation {
  height: 40px;
  line-height: 40px;
  color: red;
}
.document_contain .three {
  width: 400px;
  height: 630px;
  border: 1px solid;
}
</style>
